import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [{
		path: '/',
		name: '/',
		redirect: '/guide'
	},
	{
		path: '/guide',
		name: 'Guide',
		component: () => import('../views/Guide')
	},
	{
		path: '/home',
		name: 'Home',
		component: () => import('../views/Home')
	},
	{
		path: '/news',
		name: 'News',
		component: () => import('../views/News')
	},
	{
		path: '/personal',
		name: 'Personal',
		component: () => import('../views/Personal')
	},
	{
		path: '/service',
		name: 'Service',
		component: () => import('../views/Service')
	},
	{
		path: '/fupin',
		name: 'Fupin',
		component: () => import('../views/Fupin')
	},
]

const router = new VueRouter({
	routes
})

export default router